package com.learn.elasticsearch.enums;

/**
 * 数据类型
 *
 * @author: MI
 * @email: 448341911@qq.com
 * @createTime: 2024/5/19 11:31
 * @updateUser: MI
 * @updateTime: 2024/5/19 11:31
 * @updateRemark: 修改内容
 * @version: v1.0
 */
public enum ESFieldType {
    /*
     * TEXT
     */
    Text("text"),
    /*
     * BYTE
     */
    Byte("byte"),
    /*
     * SHORT
     */
    Short("short"),
    /*
     * INTEGER
     */
    Integer("integer"),
    /*
     * LONG
     */
    Long("long"),
    /*
     * DATE
     */
    Date("date"),
    /*
     * FLOAT
     */
    Float("float"),
    /*
     * DOUBLE
     */
    Double("double"),
    /*
     * BOOLEAN
     */
    Boolean("boolean"),
    /*
     * OBJECT
     */
    Object("object"),
    /*
     * KEYWORD
     */
    Keyword("keyword");


    ESFieldType(String typeName) {
        this.typeName = typeName;
    }

    public String typeName;
}
